/* 
 * File:   chemical_element_item.hpp
 * Author: jolo
 *
 * Created on 12. Oktober 2011, 06:41
 */

#ifndef GUI_CHEMICAL_ELEMENT_ITEM_HPP
#define	GUI_CHEMICAL_ELEMENT_ITEM_HPP

#include <widgets/entity_item.hpp>

namespace model
{
    class chemical_element;
    typedef shared_ptr<chemical_element> chemical_element_ptr;
}

namespace gui
{

    class chemical_element_item : public widgets::entity_item
    {
    public:
        chemical_element_item(model::chemical_element_ptr p);
        virtual ~chemical_element_item();

        model::chemical_element_ptr chemical_element() const
        {
            return e_;
        }

    private:
        model::chemical_element_ptr e_;
    };
}

#endif	/* CHEMICAL_ELEMENT_ITEM_HPP */

